import CustomTable from "@/components/CustomTable/CustomTable.tsx";
import {ColumnProps} from "antd/es/table";

function GuideCategory() {
  const columns: Array<ColumnProps> = [
    {
      title: '编号1',
      key: 'index',
      dataIndex: 'index',
    },
    {
      title: '板块1',
      key: 'plate',
    },
    {
      title: '反馈人1',
      key: 'feedbackPeople',
    },
    {
      title: '反馈日期1',
      key: 'feedbackDate',
    },
    {
      title: '状态1',
      key: 'status',
    },
    {
      align: 'center',
      title: '操作1',
      key: 'operate',
    },
  ]

  const tableList = Array.from({length: 100}).map((_value, index) => ({index}))
  return (
    <>
      <CustomTable dataSource={tableList} columns={columns} rowKey={(record) => record.index}
      ></CustomTable>
    </>
  );
}

export default GuideCategory;